home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / parser.jar / org / xml / sax / SAXException.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-02-23  |  731 b   |  29 lines

  1. package org.xml.sax;
  2.  
  3. public class SAXException extends Exception {
  4.    private Exception exception;
  5.  
  6.    public SAXException(Exception var1) {
  7.       this.exception = var1;
  8.    }
  9.  
  10.    public SAXException(String var1) {
  11.       super(var1);
  12.       this.exception = null;
  13.    }
  14.  
  15.    public SAXException(String var1, Exception var2) {
  16.       super(var1);
  17.       this.exception = var2;
  18.    }
  19.  
  20.    public Exception getException() {
  21.       return this.exception;
  22.    }
  23.  
  24.    public String getMessage() {
  25.       String var1 = super.getMessage();
  26.       return var1 == null && this.exception != null ? this.exception.getMessage() : var1;
  27.    }
  28. }
  29.